*Replication of tables 3 and 4

use "C:\Users\ev42\Dropbox\LGBTpaper\replicationdataIOLGBT.dta", clear

xtset ccode

*Table 3
xi: xtlogit policy ecthrpos ecthrcountry lgbtlaws pubsupport cond eumembe euemploy coemembe  lngdp year i.issue, fe 
outreg2 using table3.doc, nolabel replace 

xi: xtlogit policy ecthrpos##c.pubsupport ecthrcountry lgbtlaws cond eumembe euemploy coemembe  lngdp year i.issue, fe 
outreg2 using table3.doc, nolabel append 

xi: xtlogit policy ecthrpos##execopp pubsupport ecthrcountry lgbtlaws cond eumembe euemploy coemembe  lngdp year i.issue, fe 
outreg2 using table3.doc, nolabel append 

xi: xtlogit policy ecthrpos##judrevco pubsupport ecthrcountry lgbtlaws cond eumembe euemploy coemembe  lngdp year i.issue, fe 
outreg2 using table3.doc, nolabel append 

xi: xtlogit policy pubsupport ecthrpos##newdem ecthrpos##stabledem  ecthrcountry lgbtlaws cond eumembe euemploy coemembe  lngdp year i.issue, fe 
outreg2 using table3.doc, nolabel append 


*Table 4

xi: xtlogit policy ecthrpos ecthrcountry predvote2 pubsupport cond eumembe euemploy coemembe  lngdp year i.issue, fe 
outreg2 using table4.doc, nolabel replace 

xi: xtlogit policy ecthrpos##c.pubsupport ecthrcountry predvote2 cond eumembe euemploy coemembe  lngdp year i.issue, fe 
outreg2 using table4.doc, nolabel append 

xi: xtlogit policy ecthrpos##execopp pubsupport ecthrcountry predvote2 cond eumembe euemploy coemembe  lngdp year i.issue, fe 
outreg2 using table4.doc, nolabel append 

xi: xtlogit policy ecthrpos##judrevco pubsupport ecthrcountry predvote2 cond eumembe euemploy coemembe  lngdp year i.issue, fe 
outreg2 using table4.doc, nolabel append 

xi: xtlogit policy pubsupport ecthrpos##newdem ecthrpos##stabledem  ecthrcountry predvote2 cond eumembe euemploy coemembe  lngdp year i.issue, fe 
outreg2 using table4.doc, nolabel append 








